home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 418_04 / makefile < prev    next >
Encoding:
Makefile  |  1994-03-02  |  1.9 KB  |  82 lines

  1. CC   = CL /nologo /AM /J /W3
  2. LD   = LINK /NOD /NOE
  3.  
  4. DEBUG = 0
  5.  
  6. !if $(DEBUG)
  7. CFLAGS = /Zi /Od
  8. LFLAGS = /CO /LI /MAP
  9. !else
  10. .SILENT:
  11.  
  12. CFLAGS = /G2Asr /Ogiloab2
  13. LFLAGS =
  14. !endif
  15.  
  16. # 80x87 Present:  /FPi87  MLIBC7W
  17. # 80x87 Detect:   /FPi    MLIBCEW
  18. # 80x87 Absent:   /FPa    MLIBCAW
  19.  
  20. LIBS   = LIBW MLIBCEW COMMDLG
  21.  
  22. OBJS   = raswin.obj molecule.obj command.obj abstree.obj transfor.obj \
  23.          render.obj pixutils.obj mswin31.obj outfile.obj
  24.  
  25.  
  26. goal:        raswin.exe
  27.  
  28. raswin.exe:    $(OBJS) raswin.def raswin.res
  29.         $(LD) $(LFLAGS) @<<
  30.             $(OBJS),
  31.             raswin.exe,
  32.             raswin.map,
  33.             $(LIBS),
  34.             raswin.def
  35. << 
  36.         $(RC) /TK raswin.res
  37. !if $(DEBUG)
  38.         MAPSYM raswin.map
  39. !endif
  40.  
  41.  
  42. raswin.hlp:     raswin.hpj raswin.rtf
  43.                 hc31 raswin.hpj
  44.  
  45. raswin.obj:    raswin.c rasmol.h raswin.idm molecule.h command.h \
  46.         abstree.h transfor.h render.h pixutils.h graphics.h \
  47.         outfile.h
  48.         $(CC) /c $(CFLAGS) raswin.c
  49.  
  50. molecule.obj:    molecule.c molecule.h rasmol.h abstree.h command.h \
  51.         transfor.h render.h
  52.         $(CC) /c $(CFLAGS) molecule.c
  53.  
  54. transfor.obj:    transfor.c transfor.h rasmol.h molecule.h command.h \
  55.         render.h graphics.h
  56.         $(CC) /c $(CFLAGS) transfor.c
  57.  
  58. command.obj:    command.c command.h rasmol.h tokens.h abstree.h \
  59.         molecule.h transfor.h render.h graphics.h pixutils.h \
  60.         outfile.h
  61.         $(CC) /c $(CFLAGS) command.c
  62.  
  63. abstree.obj:    abstree.c abstree.h rasmol.h molecule.h
  64.         $(CC) /c $(CFLAGS) abstree.c
  65.  
  66. render.obj:     render.c render.h rasmol.h molecule.h transfor.h \
  67.         command.h graphics.h pixutils.h
  68.         $(CC) /c $(CFLAGS) render.c
  69.  
  70. mswin31.obj:    mswin31.c graphics.h rasmol.h render.h
  71.         $(CC) /c $(CFLAGS) mswin31.c
  72.  
  73. pixutils.obj:   pixutils.c pixutils.h rasmol.h render.h graphics.h
  74.         $(CC) /c $(CFLAGS) pixutils.c
  75.  
  76. outfile.obj:    outfile.c outfile.h rasmol.h command.h transfor.h \
  77.         render.h graphics.h pixutils.h
  78.         $(CC) /c $(CFLAGS) outfile.c
  79.  
  80. raswin.res:    raswin.rc raswin.idm
  81.         $(RC) /r raswin.rc
  82.